<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" href="./Public/css/GWC.css" />
<script src="./Public/js/jquery-1.8.2.min.js"></script>
	
	<script type="text/javascript">
		var total="<?php echo $_SESSION['cart']['total']?>";
		var numAll="<?php echo $_SESSION['cart']['total_rows']?>";
	</script>
		<script type="text/javascript" src="./Public/js/js.js"></script>
<title>无标题文档</title>
</head>

<body>
	<div id="Gwc">
		<div class="top">
			<img src="./images/vl.png" alt="" />
			<div class="help"><a href="">帮助中心</a></div>
			<p class="chanage">您好,&nbsp;&nbsp;<a href="<?php echo U('Login/Login')?>">退出登录</a>&nbsp;&nbsp;<a href="<?php echo U('Login/Login')?>">更换用户</a></p>
		</div>
		<div class="tiao">
			<p style="color: white;"> 1.我的购物车  </p>
			<p>2.填写核对信息单 </p>
			<p>3.成功提交订单</p>
		</div>
		<div class="content">
			<div class="che">
				<h2>我的购物车</h2>
			</div>
			<div class="tishi">
				<span style="color: #A10000;">温馨提示:</span>
				1.选购清单中的商品无法保留库存，请您及时结算。2.商品的价格和库存将以订单提交时为准。3.促销活动满减优惠将均摊至商品小计中。
			</div>
			<div class="shuju">
				<li class="li1"></li>
				<li class="li2"><input type="checkbox" class="check"/><label for="">全选</label></li>
				<li class="li3"></li>
				<li class="li4"><p>全部商品</p></li>
				<li class="li5"><p>尺寸</p></li>
				<li class="li6"><p>单价</p></li>
				<li class="li7"><p>数量</p></li>
				<li class="li8"><p>优惠</p></li>
				<li class="li9"><p>小计</p></li>
				<li class="li10"><p>操作</p></li>
				<li class="li11"></li>
			</div>
		<?php if(isset($goods)){?>
                
		<?php foreach ($goods as $k=>$v){?>
			
			<div class="zhan">
				<li class="x1"></li>
				<li class="x2"><input type="checkbox" name="" id="" value="" /></li>
				<li class="x3"><img src="<?php echo $v['options']['listview']?>" alt="" width="50" height="50"/></li>
				
				<li class="x4"><a href=""><?php echo $v['name']?></a></li>
				
				<li class="x5"><a href=""><?php echo $v['options']['size']?></a></li>
				<li class="x6"><a href="">￥<span><?php echo $v['price']?></span></a></li>
				<li class="x7">
						<a href="javascript:;" class="jian">-</a>
					<input type="text" value="1"/>
						<a href="javascript:;" class="jia">+</a>
				</li>
				<li class="x8">-</li>
				<li class="x9"><a href="">￥<span><?php echo $v['price']?></span></a></li>
				<li class="x10"><a href="<?php echo U('Shopcar/del',array('kk'=>$k))?>">删除</a></li>
				<!--<input type="hidden" name="id" kk="<?php echo $k?>"/>-->
				<li class="x11"></li>
			</div>
			
			<?php }?>
			
               <?php }?>
			<div class="suan">
				<div class="bar">
					<input type="checkbox" /><label for="">全选</label>
					<a href="">删除</a>
					
					<span>数量总计：<em>0</em>&nbsp;件</span>
					
					<p>您目前可享受全场购物免运费 </p>
				</div>
				<div class="qule">
					<div class="left">产品金额总计(不含运费):
						
						
						
					<span><span>￥</span>00.00</span>
					
					
					
					
					</div>
					<div class="right">
						<a href="<?php echo U('Index/index')?>" class="jixus"><<继续购物</a>
						<a href="<?php echo U('Order/index',array('gid'=>$goods[$k]['id']))?>" class="mai">去结算>></a>
					</div>
				</div>
			</div>
			
			
			
		</div>
		
		
		
		<div class="center1" >
			<div class="xia">
			<p>
Copyright 2007 - 2014 vancl.com All Rights Reserved 京ICP证100557号 京公网安备11010102000579号 出版物经营许可证新出发京批字第直110138号
</p>
			<div class="wangzhi">
	<a href="" class="xin"></a>
	<a href="" class="huiyuan"></a>
	<a href="" class="jiaoyi"></a>
	<a href="" class="jingying"></a>
			</div>
		</div>
	</div>
		
		
		
	</div>
</body>
</html>
